// 导入消息框 
import { ElMessage } from 'element-plus'
// 消息框
export const $msg = (message,type='success',duration=1500,showClose=true) => {
    ElMessage({
        showClose,
        message,
        type,
        duration
      })
}